package com.yanghui.agent.agent.springboot.d;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yanghui
 */
@RestController
@RequestMapping("/helloWord")
public class HelloWordController {

    @RequestMapping("/test1")
    public String test1(String name) throws InterruptedException {
        System.out.println("name=" + name);
        Thread.sleep(1000);
        return "hello test1";
    }
}
